// components/searchList/index.js
// import {getList} from 'getList.js'
// const bookList = new getList()
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    bookName:{
      type:String
    }
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  attached:function(){
 
  },

  methods: {
    getKeyword:function(e){
      console.log(this.properties.bookName)
      this.triggerEvent('getSearchLit',
       { listName: this.properties.bookName})
    }
  }
})
